package com.chen.pojo;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Bill {
	private Integer id;   //id 
	private String billCode; //鐠愶箑宕熺紓鏍垳 
	private String productName; //閸熷棗鎼ч崥宥囆� 
	private String productDesc; //閸熷棗鎼ч幓蹇氬牚 
	private String productUnit; //閸熷棗鎼ч崡鏇氱秴
	private BigDecimal productCount; //閸熷棗鎼ч弫浼村櫤 
	private BigDecimal totalPrice; //閹鍣炬０锟�
	private Integer isPayment; //閺勵垰鎯侀弨顖欑帛 
	private Integer providerId; //娓氭稑绨查崯鍜篋 
	private Integer createdBy; //閸掓稑缂撻懓锟�
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date creationDate; //閸掓稑缂撻弮鍫曟？
	private Integer modifyBy; //閺囧瓨鏌婇懓锟�
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date modifyDate;//閺囧瓨鏌婇弮鍫曟？
	
	private Provider provider;
	
	private String providerName;//娓氭稑绨查崯鍡楁倳缁夛拷
	
	
	public String getProviderName() {
		return providerName;
	}
	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getBillCode() {
		return billCode;
	}
	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getProductDesc() {
		return productDesc;
	}
	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}
	public String getProductUnit() {
		return productUnit;
	}
	public void setProductUnit(String productUnit) {
		this.productUnit = productUnit;
	}
	public BigDecimal getProductCount() {
		return productCount;
	}
	public void setProductCount(BigDecimal productCount) {
		this.productCount = productCount;
	}
	public BigDecimal getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Integer getIsPayment() {
		return isPayment;
	}
	public void setIsPayment(Integer isPayment) {
		this.isPayment = isPayment;
	}
	
	public Integer getProviderId() {
		return providerId;
	}
	public void setProviderId(Integer providerId) {
		this.providerId = providerId;
	}
	public Integer getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	public Integer getModifyBy() {
		return modifyBy;
	}
	public void setModifyBy(Integer modifyBy) {
		this.modifyBy = modifyBy;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public Provider getProvider() {
		return provider;
	}
	public void setProvider(Provider provider) {
		this.provider = provider;
	}
	
	
}
